/*
 * Copyright 2025 arisgo@163.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.arisgo.cloud.auth.sys.vo;

import com.arisgo.cloud.web.model.NumberId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 代码生成表
 *
 * @author Arisgo
 * @since 2024-06-12
 */
@Data
@Schema(description = "代码生成表信息")
public class CodeVo extends NumberId {

    /**
     * 数据源主键
     */
    @Schema(name = "datasourceId", description = "数据源主键")
    private Long datasourceId;

    /**
     * 服务名称
     */
    @Schema(name = "serviceName", description = "服务名称")
    private String serviceName;

    /**
     * 模块名称
     */
    @Schema(name = "codeName", description = "模块名称")
    private String codeName;

    /**
     * 表名
     */
    @Schema(name = "tableName", description = "表名")
    private String tableName;

    /**
     * 表前缀
     */
    @Schema(name = "tablePrefix", description = "表前缀")
    private String tablePrefix;

    /**
     * 主键名
     */
    @Schema(name = "pkName", description = "主键名")
    private String pkName;

    /**
     * 后端包名
     */
    @Schema(name = "packageName", description = "后端包名")
    private String packageName;

    /**
     * 基础业务模式
     */
    @Schema(name = "baseMode", description = "基础业务模式")
    private Integer baseMode;

    /**
     * 包装器模式
     */
    @Schema(name = "wrapMode", description = "包装器模式")
    private Integer wrapMode;

    /**
     * 后端路径
     */
    @Schema(name = "apiPath", description = "后端路径")
    private String apiPath;

    /**
     * 前端路径
     */
    @Schema(name = "webPath", description = "前端路径")
    private String webPath;

}
